#ifndef MYBUTTON_H
#define MYBUTTON_H
#include <QString>
#include <QWidget>
#include <QPushButton>


class MyButton : public QPushButton {

Q_OBJECT
public:
MyButton( const QString& text, QWidget* parent = NULL );

private:
static int nextId;
int m_id;

public slots:
//click() überschreiben
void click();

signals:
//ein neues Signal hinzufügen
void clicked(int id);

};
#endif
